<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ru" xml:lang="ru">
<head><?
	include('inc/menu.php');
	$links = new links;
	$links -> base_url = &$this->config->item('base_url');
	$links->userPerm = &$userPerm;
	$links->user_id = &$this->session->userdata('user_id');
?>
	<title><?
		echo $conf['title'];
		if ( isset($catInfo->title) ) {
			echo ' - '.$catInfo->title;
		}
	?></title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<!--- by Dark Angel icq: 313-612-448 -->
	<meta name="keywords" content="<?=$conf['key']?>" />
	<meta name="description" content="Новости сцены и важные события" />
	<meta name="document-state" content="dynamic" />
	<link rel="stylesheet" href="<?=$links->base_url?>skin/stylesheet.css" type="text/css"  media="screen" />
	<script type='text/javascript' src="<?=$links->base_url?>js/jscss.php?act=js"></script>

	<script type="text/javascript" src="<?=$links->base_url?>js/testUserDevice.js"></script>
	<link rel="stylesheet" type="text/css" href="<?=$links->base_url?>js/jquery/ui-darkness/jquery-ui.css"></link>
	<script type="text/javascript" src="<?=$links->base_url?>js/jquery/jquery.js"></script>
	<script type="text/javascript" src="<?=$links->base_url?>js/jquery/jquery-ui.js"></script>
	<script type="text/javascript" src="<?=$links->base_url?>js/jquery/validate/jquery.validate.js"></script>
	<script type="text/javascript" src="<?=$links->base_url?>js/jquery/jquery.form.js"></script>
	
</head>

<body>
<div id='holder' class='roundBT'>
	<? include("header.php"); ?>

<div id='ctn'>
<?
//print_r($this->session->userdata);
?>
	<div id='status'><?if(isset($status)) echo $status;?></div>
	<? include("type/".$type.".php"); ?>
</div>
	<? include("footer.php"); ?>
<div id="copyright"><a href='<?=$this->config->item('base_url')?>act/about' rel='copyright'>by Dark Angel</a></div>
</div>

</body>
</html><?
/* End of file main.php */
/* Location: ./system/application/views/main.php */
?>
